package com.dy.lock.screen.component;

import java.util.List;

import com.dy.lock.screen.scoket.Head;
import com.dy.lock.screen.vo.ChatResultVo;
import com.dy.lock.screen.vo.ChatVo;

public interface ChatInfoComponent {
	
	/**
	 * 评价订单
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean evaluateOrderForm(String body, Head head);
	
	/**
	 * 获取两条商品评价
	 * @param body
	 * @param head
	 * @return
	 */
	public ChatResultVo getLastChatInfo(String body, Head head);
	
	/**
	 * 获取商品的所有评论
	 * @param body
	 * @param head
	 * @return
	 */
	public List<ChatVo> getAllChatInfo(String body, Head head);
}
